package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;

import com.arpa.wms.domain.entity.StaffCosts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 员工费用明细DTO
 * </p>
 *
 * @author rfwang
 * @since 2021年7月1日
 */
@Data
@ApiModel(value="StaffCostsDTO对象", description="员工费用明细")
public class StaffCostsDTO extends BasicEntity {

    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "仓库标识")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "所属货主")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "计费日期")
    private LocalDateTime gmtBilling;

    @ApiModelProperty(value = "费用类型：pack打包")
    private String feeType;

    @ApiModelProperty(value = "作业人标识")
    private String partyCode;

    @ApiModelProperty(value = "作业人名称")
    private String staffName;

    @ApiModelProperty(value = "用工类型")
    private String employmentType;

    @ApiModelProperty(value = "劳务外包方")
    private String outsourcer;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "计费方式:days天, hours工时, pieces件")
    private String billingMethod;

    @ApiModelProperty(value = "计费方式标识")
    private String billingMethodCode;

    @ApiModelProperty(value = "计费单价")
    private BigDecimal billingPrice;

    @ApiModelProperty(value = "计费量")
    private BigDecimal billingQuantity;

    @ApiModelProperty(value = "金额；计费量*计费单价")
    private BigDecimal amountMoney;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "计费日期下限")
    private String gmtBillingStart;

    @ApiModelProperty(value = "计费日期上限")
    private String gmtBillingEnd;

    @ApiModelProperty(value = "计费单价下限")
    private BigDecimal billingPriceStart;

    @ApiModelProperty(value = "计费单价上限")
    private BigDecimal billingPriceEnd;

    @ApiModelProperty(value = "计费量下限")
    private BigDecimal billingQuantityStart;

    @ApiModelProperty(value = "计费量上限")
    private BigDecimal billingQuantityEnd;

    @ApiModelProperty(value = "金额下限")
    private BigDecimal amountMoneyStart;

    @ApiModelProperty(value = "金额上限")
    private BigDecimal amountMoneyEnd;

    @ApiModelProperty(value = "员工费用明细集合")
    private List<StaffCosts> staffCostsList;

    @ApiModelProperty(value = "所属货主授权列表")
    private List<String> shipmentCodes;

    @ApiModelProperty(value = "劳务外包方名称")
    private String outsourcerName;

    @ApiModelProperty(value = "授权该账号的仓库集合")
    private List<String> warehouseCodes;

    @ApiModelProperty(value = "奖励金额")
    private BigDecimal rewardAmount;

    @ApiModelProperty(value = "惩罚金额")
    private BigDecimal punishAmount;

    @ApiModelProperty(value = "奖励金额下限")
    private BigDecimal rewardAmountStart;

    @ApiModelProperty(value = "奖励金额上限")
    private BigDecimal rewardAmountEnd;

    @ApiModelProperty(value = "惩罚金额下限")
    private BigDecimal punishAmountStart;

    @ApiModelProperty(value = "惩罚金额上限")
    private BigDecimal punishAmountEnd;



}
